package com.koron.sinoprobe.web.ledger.bean.entity;

import com.koron.sinoprobe.web.common.UpdateParameter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "专项项目-项目合同")
public class SpContract implements Serializable, UpdateParameter {

    private static final long serialVersionUID = 150708433565223642L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("项目id,w_sp_project.id")
    private String projectId;

    @ApiModelProperty("合同名称")
    private String name;

    @ApiModelProperty("合同编号，用户填写")
    private String code;

    @ApiModelProperty("承包方，用户输入")
    private String contractor;

    @ApiModelProperty("合同总价，单位：元")
    private Double amount;

    @ApiModelProperty("签订时间,yyyy-mm-dd")
    private Date signTime;

    @ApiModelProperty("当前付款进度，单位：%")
    private Integer payProgress;

    @ApiModelProperty("是否要做完工验收")
    private Integer isCheck;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人账号")
    private String createBy;

    @ApiModelProperty("创建人名字")
    private String createByName;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人账号")
    private String updateBy;

    @ApiModelProperty("更新人名字")
    private String updateByName;
}
